home *** CD-ROM | disk | FTP | other *** search
/ Mac Magazin/MacEasy 43 / Mac Magazin and MacEasy Magazine CD - Issue 43.iso / Software / Grafik / Web-Publishing / PhotoGIF™ 2.1.4 Folder / GIF File Sizes on Macs < prev    next >
Text File  |  1998-02-04  |  4KB  |  48 lines

  1. GIF File Sizes on Macs.
  2.  
  3. BoxTop Software, Inc.
  4. 101 N. Lafayette Street
  5. Starkville, MS 39759
  6. (v) 1-601-324-1800
  7. (f) 1-601-324-7353
  8. http://www.boxtopsoft.com
  9. ftp://www.boxtopsoft.com
  10. info@boxtopsoft.com
  11.  
  12.  
  13. File sizes are very important for World Wide Web graphics. Smaller files mean shorter transmission times and more viewers that stick around to see your page. With this in mind we've take great pains to develop superior technology for PhotoGIF™ that allow you to make the smallest, best looking GIF files possible with it.
  14.  
  15. This includes the adaptive and fixed palette color reduction, which uses a new variable intensity, selective dithering technique that minimizes entropy and produces more compressible image data; a palette usage optimization feature that removes redundant colors from the image and reorganizes color usage to specifically improve compression; and the most efficient LZW compression there is.
  16.  
  17. Still, we sometimes get asked, 'Why are PhotoGIF™ files so much bigger?' The answer is the GIF files aren't really bigger. Almost always, they are smaller.
  18.  
  19. There are several things that can make them appear bigger. The most common explanation of why the files look bigger in your Mac's 'get info' box is that it normally shows the combined size of the Mac files data fork (the actual GIF file) and the Mac files resource fork where Photoshop stores custom icons, previews and other image resources such as the last window position.
  20.  
  21. Include with PhotoGIF™ is a free utility called GIF Prep™. GIF Prep™ will strip the resource forks from GIF and JPEG files dropped onto it, so that you will see an accurate number in the finder for the size of the GIF or JPEG file. Just make sure that you are looking at the second number field labeled "Bytes Used" and not the allocation block size, which is explained below.
  22.  
  23. The second thing is the way the Mac allocates disk space for files in fixed size blocks. These blocks vary in size according to the size of your hard drive (or partitions on it) and can get quite big in comparison to the actual size of the file. A 500 byte GIF file could be stored in a 32K chunk of disk space, and a quick glance at the 'get info' box can be misleading if you only look at the first number which shows the disk space allocated for the file and not the number of bytes used in the file.
  24.  
  25. Now, the thing you need to be aware of is the difference in the Mac file system and the file systems of the rest of the computers in the world that wouldn't know what a resource fork was if it bit them on the nose. When you send your Mac files as binary data to your server only the 'data fork' is transferred. (Unless you specifically use an encoding method such as binhex or MacBinary to preserve the resource fork of the Mac file, which you DO NOT want to do since it would render your web page graphics as broken image icons.)
  26.  
  27. Whatever was in the resource fork is still sitting on your desktop, and only the data fork, the actual GIF file, is on your server. Even if you have a Macintosh web server what is in the resource fork of the file is never sent in response to an http request, so either way the extra information stored in the resource fork of the file doesn't make a bit of difference as far as bandwidth is concerned.
  28.  
  29. So it doesn't hurt a bit to keep those custom icons and image previews that make life so much easier around. If you really want to you can tell Photoshop not to make them in it's preferences settings and save file dialog, but it's really not necessary.
  30.  
  31.  
  32. BoxTop Software, Inc.
  33. 101 N. Lafayette Street
  34. Starkville, MS 39759
  35. (v) 1-601-324-1800
  36. (f) 1-601-324-7353
  37. http://www.boxtopsoft.com
  38. ftp://www.boxtopsoft.com
  39. info@boxtopsoft.com
  40.  
  41.  
  42. PhotoGIF™ is Copyright 1995 - 1998 BoxTop Software Inc. All rights reserved. PhotoGIF™ and GIF Prep™ are Trade Marks of BoxTop Software Inc., which may be registered in certain jurisdictions. All other trademarks are recognized as the properties of their respective holders.
  43.  
  44.  
  45. Document published: 2/2/98
  46.  
  47. Copyright 1998 BoxTop Software, Inc. All Rights Reserved.
  48.